package com.example.bootdemo;

import com.example.bootdemo.bean.Student;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@SpringBootApplication
public class BootdemoApplication {

	//自动生成测试用学生信息数据
//    public static List<Student> students= Tool.initStudentData(60);
	public static List<Student> students = new ArrayList<>();
	//public static List<List<Student>> result = new ArrayList<>();
	//一个静态的用于存储分类好的学生信息map
	public static Map<String,List<Student>> map = new HashMap<>();
	//一个静态的用于存储学校信息的List
	public static List<String> schools =new ArrayList<>();
	//一个静态的用于存储抽出的学生信息的Map
	public static Map<String,List<Student>> selectedStudent = new HashMap<>();
	//向前台传递选择该学校学校的学生信息
	public static void main(String[] args) {
		System.out.println("项目即将启动");
		SpringApplication.run(BootdemoApplication.class, args);
		System.out.println("启动成功");
	}

}
